import type { AppRouteModule } from '/@/router/types';
import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';

const simple1: AppRouteModule={
  path:'/task',
  name:'Task',
  component:LAYOUT,
  redirect:'/task/index',
  meta:{
    icon:'ant-design:reconciliation-filled',
    title:t('routes.app.task.task.title')
  },
  children:[
    {
      path:'index',
      name:'TaskContent',
      component:() => import('/@/views/app/task/index.vue'),
      meta:{
        icon:'ant-design:read-outlined',
        title:t('routes.app.task.task.list')
      }
    },
    {
      path:'release',
      name:'releaseTask',
      component:() => import('/@/views/app/task/releaseTask.vue'),
      meta:{
        icon:'ant-design:container-twotone',
        title:t('routes.app.task.task.release')
      }
    },
    {
      path:'submit',
      name:'Tasksubmit',
      component:()=> import('/@/views/app/task/tasksub.vue'),
      meta:{
        icon:'ant-design:container-twotone',
        title:t('routes.app.task.task.submit'),
      }
    }
  ]
};

export default simple1;
